<div id="upload_{{ upload.id }}">
	{% if 'image' in upload.mime %}
	<img src="{{ upload_url(upload.preview_path) }}" alt="{{ upload.original_name }}">
	{% else %}
	<a href="{{ upload_url(upload.preview_path) }}" title="{{ upload.original_name }}">{{ upload.original_name }}</a>
	{% end %}
	<span>{{ upload.increment }}</span>
	<button type="submit" name="upload_id" value="{{ upload.id }}">Delete</button>
</div>